package com.njtoyo.taxi.admin.mapper.master.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import com.njtoyo.taxi.admin.mapper.master.enums.RideOrderPaidThrough;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 有责取消交易流水表
 * </p>
 *
 * @author Dell
 * @since 2021-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CancellationTransactionLog对象", description="有责取消交易流水表")
public class CancellationTransactionLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "取消订单表ID")
    private Long cancellationOrderId;

    @ApiModelProperty(value = "订单金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "实际支付金额")
    private BigDecimal payAmount;

    @ApiModelProperty(value = "支付平台")
    private RideOrderPaidThrough payThrough;

    @ApiModelProperty(value = "优惠券抵扣金额")
    private BigDecimal couponPaid;

    @ApiModelProperty(value = "优惠券ID")
    private Long couponId;

    @ApiModelProperty(value = "优惠券类型")
    private Long couponCategory;

    @ApiModelProperty(value = "余额支付金额")
    private BigDecimal balancePaid;

    @ApiModelProperty(value = "余额流水表ID")
    private Long rechargeId;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;


}
